html, body {
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    font-family: sans-serif, "Helvetica Neue", Helvetica, Arial;
    font-size: 12px;
    background-color: #f1f1f1;
}

* {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.main-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    text-align: center;
}

.main-wrapper {
    height: 100%;
    min-width: 1300px;
    min-height: 440px;
}

.main-header {
    width: 100%;
    height: 70px;
    padding-left: 10px;
    padding-right: 10px;
    line-height: 70px;
    box-sizing: border-box;
    font-weight: bold;
    position: relative;
}

.main-header-app-name {
    float: left;
    font-size: 20px;
}

.main-header-app-name img {
    vertical-align: middle;
    margin-right: 8px;
}

.main-header-language {
    float: right;
}

.main-header-language select {
    margin-left: 8px;
    margin-right: 8px;
    width: 100px;
}

.main-header-controls {
    float: right;
    margin-right: 16px;
}

.main-header-about {
    font-size: 18px;
    color: #fff;
    text-decoration: underline;
    cursor: pointer;
    padding-left: 8px;
    padding-right: 8px;
    float: right;
}

.main-layout {
    clear: both;
    height: -webkit-calc(100% - 90px);
    height: -moz-calc(100% - 90px);
    height: -o-calc(100% - 90px);
    height: calc(100% - 90px);
    box-sizing: border-box;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
}

.images-list {
    display: block;
    width: 400px;
    height: 100%;
    float: left;
    text-align: left;
    position: relative;
    margin-left: 10px;
    margin-right: 10px;
    box-shadow: 1px 1px 1px 1px rgba(0,0,0,.2);
}

.props-list {
    display: block;
    width: 300px;
    height: 100%;
    float: right;
    overflow-y: auto;
    margin-left: 10px;
    margin-right: 10px;
    box-shadow: 1px 1px 1px 1px rgba(0,0,0,.2);
}

.images-controllers {
    padding: 8px;
    height: 30px;
    text-align: center;
}

.images-controllers hr {
    margin-top: 16px;
    border: none;
    color: rgba(0,0,0,0.2);
    background-color: rgba(0,0,0,0.2);
    height: 1px;
}

.images-controllers .btn {
    margin-left: 4px;
    margin-right: 4px;
    margin-bottom: -11px;
}

.images-tree {
    position: absolute;    
    left: 0;
    top: 47px;
    bottom: 0;
    right: 0;
    overflow: auto;
    padding: 8px;
}

.image-drop-help {
    color: #555;
    font-size: 12px;
    text-align: center;

    width: 250px;
    padding: 30px 0;
    margin: 50px auto;

    background: #eee;
    border: 1px solid #ccc;

    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -o-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
}

.image-drop-help.selected {
    background: #ddd;
}

.image-list-item {
    cursor: pointer;
    border: 1px dotted transparent;
}

.image-list-item-current {
    border: 1px dotted #000;
}

.image-list-image-container {
    width: 25px;
    height: 25px;
    text-align: center;
    display: inline-block;
    border: 1px dotted #ccc;
    vertical-align: middle;
    margin-top: 2px;
    margin-bottom: 2px;
}

.image-list-image {
    max-width: 25px;
    max-height: 25px;
    margin: auto;
}

.image-list-name-container {
    display: inline-block;
    padding-top: 4px;
    padding-left: 4px;
    margin-top: 2px;
    margin-bottom: 2px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.btn {
    border-width: 1px;
    border-style: solid;
    font-size: 12px;
    line-height: 1;
    text-align: center;
    padding: 8px;
    display: inline-block;
    font-weight: bold;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -o-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    white-space: nowrap;
}

.btn:active {
    transform: scale(0.95);
}

.edit-btn {
    border-width: 1px;
    border-style: solid;
    line-height: 1;
    padding: 2px;
    display: inline-block;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -o-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    white-space: nowrap;
    background-image: url("../images/edit_icon.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 16px 16px;
    width: 16px;
    height: 16px;
}

.folder-btn {
    border-width: 1px;
    border-style: solid;
    line-height: 1;
    padding: 2px;
    display: inline-block;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -o-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    white-space: nowrap;
    background-image: url("../images/folder_icon.png");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 16px 16px;
    width: 16px;
    height: 16px;
}

.edit-btn:active {
    transform: scale(0.9);
}

.file-upload {
    position: relative;
    margin-bottom: 0;
}

.file-upload input[type=file] {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    filter: alpha(opacity=0);
    cursor: pointer;
}

.pack-properties-containter {
    padding-left: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.pack-properties-containter td {
    font-weight: bold;
    padding: 2px;
    white-space: nowrap;
    text-align: left;
}

.pack-properties-containter td > input[type=text],
.pack-properties-containter td > input[type=number],
.pack-properties-containter td > select {
    width: 100%;
}

.pack-properties-containter td > input[type=text],
.pack-properties-containter td > input[type=number] {
    padding: 2px;
    box-sizing: border-box;
}

.pack-properties-containter td > input,
.pack-properties-containter td > select {
    border-width: 1px;
    border-style: solid;
}

.results-view {
    display: block;
    height: 100%;
    min-width: 640px;
}

.results-view-wrapper {
    height: 100%;
    width: -webkit-calc(100% - 720px);
    width: -moz-calc(100% - 720px);
    width: -o-calc(100% - 720px);
    width: calc(100% - 720px);
    margin: auto;
    margin-left: 410px;
    box-shadow: 1px 0px 0px 0px rgba(0,0,0,.2);
}

.results-view-container {
    height: -webkit-calc(100% - 50px);
    height: -moz-calc(100% - 50px);
    height: -o-calc(100% - 50px);
    height: calc(100% - 50px);
    overflow: auto;
}

.results-view-footer {
    display: inline-block;
    width: -webkit-calc(100% - 20px);
    width: -moz-calc(100% - 20px);
    width: -o-calc(100% - 20px);
    width: calc(100% - 20px);
    min-width: 560px;
    height: 50px;
    box-sizing: border-box;
    padding: 8px;
    vertical-align: bottom;
    text-align: center;
    font-weight: bold;
    box-shadow: 0px 1px 0px 0px rgba(0,0,0,.2);
}

.results-view-footer .btn {
    margin-left: 4px;
}

.results-view-footer hr {
    margin-top: 0;
    border: none;
    color: rgba(0,0,0,0.2);
    background-color: rgba(0,0,0,0.2);
    height: 1px;
}

.results-view-footer table {
    margin: auto;
}

.texture-view {
    display: inline-block;
    margin-left: 8px;
    margin-top: 8px;
}

.white-back {
    background: #fff;
}

.pink-back {
    background: #f0f;
}

.gray-back {
    background: #ccc;
}

.black-back {
    background: #000;
}

.grid-back {
    background: url("../images/grid.png");
}

.results-view-footer .btn-back-color {
    margin-right: 8px;
    height: 20px;
    width: 20px;
    display: inline-block;
    border: 1px solid #ccc;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -o-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    cursor: pointer;
}

.results-view-footer .btn {
    margin-top: -4px;
}

.results-view-footer .btn-back-color.selected {
    border: 2px dotted #999;
}

.center-align {
    text-align: center!important;
}

.block-hidden {
    display: none
}

.block-visible {
    display: block;
}

.player-container {
    width: 100%;
    height: 100%;
    text-align: center;
    padding-top: 24px;
    font-weight: bold;
}

.player-window {
    display: inline-block;
    padding: 8px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -o-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    border-width: 1px;
    border-style: solid;
    box-shadow: 1px 1px 1px 1px rgba(0,0,0,.2);
}

.player-fps {
    min-width: 40px;
}

.player-buffer {
    width: 1px;
    height: 1px;
    opacity: 0;
}

.player-view-container {
    min-height: 256px;
    min-width: 200px;
    vertical-align: middle;
    margin-top: 8px;
    margin-bottom: 8px;
}

.message-box-wrapper {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35);
    text-align: center;
}

.message-box-window {
    width: 340px;
    height: 130px;
    margin: auto;
    margin-top: 180px;
    font-size: 14px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -o-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    border-width: 1px;
    border-style: solid;
    padding: 16px;
    background: #fff;
    border-color: #ccc;
    box-shadow: 1px 1px 1px 1px rgba(0,0,0,.2);
}

.message-box-content {
    height: 100px;
    overflow: auto;
}

.message-box-buttons {
    padding: 8px;
    text-align: center;
}

.message-box-buttons .btn {
    margin-left: 12px;
    min-width: 50px;
}

.processing-shader {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.35);
    background-image: url("../images/processing.gif");
    background-repeat: no-repeat;
    background-position: center 200px;
    background-size: 60px 60px;
}

.processing-content {
    text-align: center;
    margin-top: 150px;
    font-size: 24px;
    font-weight: bold;
}

.old-browser-shader {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.35);
}

.old-browser-content {
    width: 400px;
    height: 180px;
    background: #fff;
    margin: auto;
    margin-top: 86px;
    font-size: 14px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -o-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #ccc;
    padding: 16px;
    text-align: center;
    font-weight: bold;
    box-shadow: 1px 1px 1px 1px rgba(0,0,0,.2);
}

.old-browser-content a {
    margin: 12px;
}

.about-shader {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.35);
}

.about-content {
    width: 490px;
    height: 360px;
    background: #fff;
    margin: auto;
    margin-top: 86px;
    font-size: 14px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -o-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #ccc;
    padding: 16px;
    text-align: left;
    box-shadow: 1px 1px 1px 1px rgba(0,0,0,.2);
}

.about-content .btn {
    min-width: 50px
}

.about-logo {
    width: 44px;
    height: 50px;
    background-image: url(../images/logo_black.png);
    background-repeat: no-repeat;
    background-size: 44px 50px;
    float: left;
    margin-left: 4px;
    margin-right: 16px;
    margin-bottom: 8px;
}

.about-author {
    margin-bottom: 8px;
    text-align: center;
}

.about-author a {
    text-decoration: underline;
}

.about-app-info {
    margin-top: 8px;
    text-align: center;
}

.about-app-name {
    font-size: 24px;
    font-weight: bold;
}

.about-app-version {
    padding-left: 14px;
}

.about-content table {
    margin-top: 16px;
}

.about-content td {
    white-space: nowrap;
    vertical-align: top;
    padding: 2px;
}

.about-content td.contributors-list {
    white-space: normal;
}

.about-controls {
    text-align: center;
    padding: 8px;
    margin-top: 10px;
}

.updater-shader {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.35);
}

.updater-content {
    width: 490px;
    height: 300px;
    background: #fff;
    margin: auto;
    margin-top: 86px;
    font-size: 14px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -o-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #ccc;
    padding: 16px;
    text-align: left;
    box-shadow: 1px 1px 1px 1px rgba(0,0,0,.2);
}

.updater-content .btn {
    min-width: 60px;
    margin-left: 8px;
    margin-right: 8px;
}

.updater-controls {
    text-align: center;
    padding: 8px;
}

.updater-download {
    width: 490px;
    height: 16px;
    box-sizing: border-box;
    border: 1px solid #999;
    margin-top: 14px;
}

.updater-download-progress {
    box-sizing: border-box;
    width: 0;
    height: 14px;
    background: #999;
}

.updater-header {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

.updater-release-notes {
    width: 100%;
    height: 240px;
    border: 1px solid #999;
    overflow: auto;
    padding-left: 8px;
    padding-right: 8px;
    margin-top: 8px;
    box-sizing: border-box;
}

.updater-download {
    visible: false;
}

.tree-view {
    overflow-y: hidden;
}

.tree-view-item {
    line-height: 16px;
    vertical-align: middle;
    font-weight: bold;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
    padding-top: 2px;
    padding-bottom: 6px;
}

.tree-view-children {
    margin-left: 16px;
}

.tree-view-children-collapsed {
    height: 0;
}

.tree-view-arrow {
    margin-right: 6px;
    display: inline-block;
    font-size: 16px;
}

.tree-view-arrow:after {
    content: '▾';
}

.tree-view-arrow-collapsed {
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
}

.tree-view-folder {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url(../images/folder.png);
    margin-right: 4px;
    margin-bottom: -4px;
}

.border-color-gray {
    border-color: rgba(0,0,0,0.2);
}

.edit-custom-exporter-shader {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.35);
}

.edit-custom-exporter-content {
    width: 640px;
    height: 500px;
    background: #fff;
    margin: auto;
    margin-top: 86px;
    font-size: 14px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -o-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #ccc;
    padding: 16px;
    text-align: left;
    box-shadow: 1px 1px 1px 1px rgba(0,0,0,.2);
}

.edit-custom-exporter-controls {
    text-align: center;
    padding: 8px;
    margin-top: 10px;
}

.edit-custom-exporter-data {
    width: 100%;
    height: 400px;
}

.edit-custom-exporter-content input[type=text],
.edit-custom-exporter-content input[type=number] {
    padding: 2px;
    box-sizing: border-box;
    width: 80px;
}

.edit-custom-exporter-content input {
    border-width: 1px;
    border-style: solid;
    margin-left: 8px;
    margin-right: 8px;
}

.sheet-splitter-shader {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.35);
}

.sheet-splitter-content {
    width: 720px;
    height: 530px;
    background: #fff;
    margin: auto;
    margin-top: 86px;
    font-size: 14px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -o-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #ccc;
    padding: 16px;
    text-align: left;
    box-shadow: 1px 1px 1px 1px rgba(0,0,0,.2);
}

.sheet-splitter-content .btn {
    min-width: 50px;
    margin-left: 5px;
    margin-right: 5px;
}

.sheet-splitter-top {
    text-align: center;
    padding-bottom: 8px;
}

.sheet-splitter-top table {
    margin: auto;
}

.sheet-splitter-info-text {
    width: 200px;
    height: 20px;
    display: inline-block;
    padding: 4px;
    padding-top: 1px;
    overflow: hidden;
    box-sizing: border-box;
    font-size: 14px;
    text-align: left;
}

.sheet-splitter-view {
    border-width: 1px;
    border-style: solid;
    border-color: #333;
    width: 500px;
    height: 420px;
    float: left;
    overflow: auto;
}

.sheet-splitter-view canvas {
    border: 1px dotted #333;
    margin: 4px;
}

.sheet-splitter-controls {
    float: right;
    width: 195px;
    height: 420px;
    padding-right: 10px;
}

.sheet-splitter-controls select {
    width: 104px;
}

.sheet-splitter-controls input[type=number] {
    width: 100px;
}

.sheet-splitter-controls td {
    font-weight: bold;
    padding: 2px;
    min-width: 90px;
    white-space: nowrap;
    text-align: left;
    font-size: 12px;
}

.sheet-splitter-bottom {
    clear: both;
    text-align: center;
    padding: 8px;
    margin-top: 10px;
}

.sheet-splitter-bottom .btn-back-color {
    margin-right: 8px;
    height: 20px;
    width: 20px;
    display: inline-block;
    border: 1px solid #ccc;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -o-border-radius: 4px;
    -ms-border-radius: 4px;
    border-radius: 4px;
    cursor: pointer;
}

.sheet-splitter-bottom td {
    font-weight: bold;
    font-size: 12px;
}

.sheet-splitter-bottom .btn-back-color.selected {
    border: 2px dotted #999;
}

.sheet-splitter-bottom table {
    margin: auto;
    margin-right: 300px;
}